package com.yaodian100.ec.generate.service.impl;

import java.io.File;

import com.yaodian100.core.common.utils.ServerValue;

public abstract class AbstractAdvGenerater {
	String defaultAdvHtmlFileFullPath(String advType, String cateId, int index) {
		StringBuilder htmlFilePath;
		htmlFilePath = new StringBuilder();
		htmlFilePath.append(ServerValue.getFrontContentHtmlPath());
		htmlFilePath.append(cateId);
		htmlFilePath.append(File.separator);
		htmlFilePath.append(advType + "_" + String.valueOf(index + 1));
		htmlFilePath.append(".html");
		return htmlFilePath.toString();
	}
}